#ifndef CONFIG_H
#define CONFIG_H

/*
 * These constants are defined in their own object file, and linked in 
 * at link time. That way we get type checking on the configuration constants.
 */
char const * const PLAY = "/usr/bin/play"; // a command that plays an audio file
char const * const INFO = "/usr/bin/soxi"; // a command that displays info about an audio file
char const * const DEV_RANDOM = "/dev/urandom"; 
char const * const MAIN_PID_FILE = "/.music.pid";
char const * const PID_FILE = "/.music-play.pid";
char const * const MUSIC_DIR = "/Music/";
char const * const RANDOM_POOL = "/.music-random-pool";
char const * const BLACKLIST = "/.music-blacklist";

#ifdef DEBUG
char const * const LOG_FILE = "/.music-log";
#endif

/* We'll iterate across this one, so the trailing 0 is important. */
char const * const MUSIC_EXT [3] = {"mp3", "ogg", 0};
/* Number of bytes in a block. */
int const BLOCK_SIZE = 8;
/* Number of bytes in a key. */
int const KEY_SIZE = 16;
float const VERSION = 0.25f;

#endif

